package com.fang.dubbo.mock.rpc.provider;


import com.fang.dubbo.mock.rpc.netty.NettyServer;
import com.fang.dubbo.mock.rpc.register.RemoteMapRegister;

/**
 * @author fanglingxiao
 * @version 1.0
 * @description TODO
 * @date 2022/1/2 12:22 下午
 **/
public class ServerBootstrap {
    public static final String HOSTNAME = "127.0.0.1";
    public static final Integer PORT = 7000;

    public static void main(String[] args) {
        RemoteMapRegister.register();
        NettyServer.startServer(HOSTNAME, PORT);
    }
}
